/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

/*
 * AppletBedelias.java
 *
 * Created on 26/06/2011, 11:41:37 AM
 */

package com.inpercom;

import java.awt.CardLayout;

/**
 *
 * @author Rodrigo
 */
public class AppletBedelias extends javax.swing.JApplet {

    private static AppletBedelias _instancia = null;

    public static AppletBedelias instancia() {
        return _instancia;
    }



    /** Initializes the applet AppletBedelias */
    @Override
    public void init() {

        _instancia = this;
        try {
            java.awt.EventQueue.invokeAndWait(new Runnable() {
                public void run() {
                    initComponents();
                    iniciar();
                }
            });
        } catch (Exception ex) {
            ex.printStackTrace();
        }
    }

    /**
     * Inicia los componentes del applet :)
     */
    private void iniciar() {
        CardLayout miLayout = new CardLayout(0, 0);
        this.setLayout(miLayout);
        
    }

    /** This method is called from within the init() method to
     * initialize the form.
     * WARNING: Do NOT modify this code. The content of this method is
     * always regenerated by the Form Editor.
     */
    @SuppressWarnings("unchecked")
    // <editor-fold defaultstate="collapsed" desc="Generated Code">//GEN-BEGIN:initComponents
    private void initComponents() {

        javax.swing.GroupLayout layout = new javax.swing.GroupLayout(getContentPane());
        getContentPane().setLayout(layout);
        layout.setHorizontalGroup(
            layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGap(0, 1024, Short.MAX_VALUE)
        );
        layout.setVerticalGroup(
            layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGap(0, 768, Short.MAX_VALUE)
        );
    }// </editor-fold>//GEN-END:initComponents


    // Variables declaration - do not modify//GEN-BEGIN:variables
    // End of variables declaration//GEN-END:variables

}
